
const express = require('express');
const IndexController = express.Router();
//const requestIp = require("request-ip")
const IndexService = require("../../../../../../../../ruoling-system/src/com/ruoling/system/service/v1/system/service.index.js");

/**
 *  系统首页
 */
IndexController.get("/Index",function(Request,response){

    // IndexService.LeftSideMenuService(function(err,data){
    //     console.log(Request.session.MenuSession)
    //     response.type(".html");
    //     response.render("admin/system/index/index.html",{data:data});
    // })

    response.type(".html");
    response.render("admin/system/index/index.html",{data:Request.session.MenuSession,user:Request.session.UserSession});

});


module.exports = IndexController;